All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.TextContainer

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.TextContainer

public class TextContainer
extends NativeObject
This class wraps the Objective-C class NSTextContainer.


Variable Index

 o LineDoesntMove
 o LineMovesDown
 o LineMovesLeft
 o LineMovesRight
 o LineMovesUp
 o LineSweepDown
 o LineSweepLeft
 o LineSweepRight
 o LineSweepUp

Constructor Index

 o TextContainer()
This default constructor is equivalent to Objective-C's [[NSTextContainer alloc] init].
 o TextContainer(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o TextContainer(Size)
This constructor has the same effect as calling - initWithContainerSize: on a newly allocated object.

Method Index

 o containerSize()
A wrapper for the - containerSize Objective-C instance method.
 o containsPoint(Point)
A wrapper for the - containsPoint: Objective-C instance method.
 o heightTracksTextView()
A wrapper for the - heightTracksTextView Objective-C instance method.
 o isSimpleRectangularTextContainer()
A wrapper for the - isSimpleRectangularTextContainer Objective-C instance method.
 o layoutManager()
A wrapper for the - layoutManager Objective-C instance method.
 o lineFragmentPadding()
A wrapper for the - lineFragmentPadding Objective-C instance method.
 o replaceLayoutManager(LayoutManager)
A wrapper for the - replaceLayoutManager: Objective-C instance method.
 o setContainerSize(Size)
A wrapper for the - setContainerSize: Objective-C instance method.
 o setHeightTracksTextView(boolean)
A wrapper for the - setHeightTracksTextView: Objective-C instance method.
 o setLayoutManager(LayoutManager)
A wrapper for the - setLayoutManager: Objective-C instance method.
 o setLineFragmentPadding(float)
A wrapper for the - setLineFragmentPadding: Objective-C instance method.
 o setTextView(TextView)
A wrapper for the - setTextView: Objective-C instance method.
 o setWidthTracksTextView(boolean)
A wrapper for the - setWidthTracksTextView: Objective-C instance method.
 o textView()
A wrapper for the - textView Objective-C instance method.
 o widthTracksTextView()
A wrapper for the - widthTracksTextView Objective-C instance method.

Variables

 o LineSweepLeft
 public static final int LineSweepLeft
 o LineSweepRight
 public static final int LineSweepRight
 o LineSweepDown
 public static final int LineSweepDown
 o LineSweepUp
 public static final int LineSweepUp
 o LineDoesntMove
 public static final int LineDoesntMove
 o LineMovesLeft
 public static final int LineMovesLeft
 o LineMovesRight
 public static final int LineMovesRight
 o LineMovesDown
 public static final int LineMovesDown
 o LineMovesUp
 public static final int LineMovesUp

Constructors

 o TextContainer
 protected TextContainer(boolean shouldAllocate,
                         int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o TextContainer
 public TextContainer()
This default constructor is equivalent to Objective-C's [[NSTextContainer alloc] init].

 o TextContainer
 public TextContainer(Size size)
This constructor has the same effect as calling - initWithContainerSize: on a newly allocated object.

Methods

 o layoutManager
 public native LayoutManager layoutManager()
A wrapper for the - layoutManager Objective-C instance method.

 o setLayoutManager
 public native void setLayoutManager(LayoutManager layoutManager)
A wrapper for the - setLayoutManager: Objective-C instance method.

 o replaceLayoutManager
 public native void replaceLayoutManager(LayoutManager newLayoutManager)
A wrapper for the - replaceLayoutManager: Objective-C instance method.

 o textView
 public native TextView textView()
A wrapper for the - textView Objective-C instance method.

 o setTextView
 public native void setTextView(TextView textView)
A wrapper for the - setTextView: Objective-C instance method.

 o setWidthTracksTextView
 public native void setWidthTracksTextView(boolean flag)
A wrapper for the - setWidthTracksTextView: Objective-C instance method.

 o widthTracksTextView
 public native boolean widthTracksTextView()
A wrapper for the - widthTracksTextView Objective-C instance method.

 o setHeightTracksTextView
 public native void setHeightTracksTextView(boolean flag)
A wrapper for the - setHeightTracksTextView: Objective-C instance method.

 o heightTracksTextView
 public native boolean heightTracksTextView()
A wrapper for the - heightTracksTextView Objective-C instance method.

 o setContainerSize
 public native void setContainerSize(Size size)
A wrapper for the - setContainerSize: Objective-C instance method.

 o containerSize
 public native Size containerSize()
A wrapper for the - containerSize Objective-C instance method.

 o setLineFragmentPadding
 public native void setLineFragmentPadding(float pad)
A wrapper for the - setLineFragmentPadding: Objective-C instance method.

 o lineFragmentPadding
 public native float lineFragmentPadding()
A wrapper for the - lineFragmentPadding Objective-C instance method.

 o isSimpleRectangularTextContainer
 public native boolean isSimpleRectangularTextContainer()
A wrapper for the - isSimpleRectangularTextContainer Objective-C instance method.

 o containsPoint
 public native boolean containsPoint(Point point)
A wrapper for the - containsPoint: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index